home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Erotic Games: Memory
/
Erotic Games: Memory.iso
/
mac
/
air_installers
/
AdobeAIR.exe
/
setup.swf
/
scripts
/
_HTMLStyle.as
< prev
next >
Wrap
Text File
|
2009-02-12
|
894b
|
36 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _HTMLStyle
{
public function _HTMLStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("HTML");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("HTML",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.borderStyle = "none";
this.backgroundColor = 16777215;
};
}
}
}
}